Vendidero\Germanized\Shipments\ShippingMethod\ShippingMethod D

Total Complexity 232
Dependencies 10
Dependents 1
Total lines 1,406
Lines of code 1,151
Logical lines of code 522
Comment lines 57
Methods 34
Properties 2

Methods 34

Method Rating Maintainability Complexity Lines of code
calculate_shipping()
D
18
54 236
rule_applies()
D
32 42 82
generate_shipping_rules_html()
C
26
21 195
get_available_packaging_boxes()
C
37 25 71
validate_shipping_rules_field()
C
34 23 84
get_updated_cache()
A
44 12 46
get_condition_types()
A
35 3 118
__construct()
S
51 6 26
get_cache()
S
54 5 22
admin_options()
S
49 3 32
init_form_fields()
S
44 1 56
get_zone()
S
66 3 9
get_condition_type()
S
60 2 15
get_packaging_list()
S
63 3 10
get_rule_conditional_operators()
S
53 1 27
get_admin_options_html()
S
66 2 8
get_packaging_help_tip()
S
68 2 7
get_packaging_edit_url()
S
69 2 7
get_shipping_rule_by_id()
S
66 2 8
get_shipping_rules_by_packaging()
S
67 2 8
get_rate_label()
S
67 2 7
get_fallback_shipping_rules()
S
67 2 8
get_conditional_operator()
S
69 2 7
update_option()
S
67 2 7
parse_rule()
S
61 1 14
parse_rule_condition()
S
61 1 14
get_multiple_rules_cost_calculation_mode()
S
79 1 3
get_multiple_shipments_cost_calculation_mode()
S
79 1 3
init()
S
70 1 6
generate_cache_html()
S
82 1 3
validate_cache_field()
S
81 1 3
get_shipping_rules()
S
80 1 3
get_all_shipping_rules()
S
79 1 3
get_shipping_provider()
S
82 1 3